package com.zb.zbtcommon.service.impl;

import com.zb.zbtcommon.dao.LinkDao;
import com.zb.zbtcommon.entity.Link;
import com.zb.zbtcommon.service.LinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class LinkServiceImpl implements LinkService {
    @Autowired
    private LinkDao LinkDao;
    @Override
    public List<Link> findLink(String linktypeid) {
        return LinkDao.findLink(linktypeid);
    }
}
